//
//  RAVManager.h
//  EPAa
//
//  Created by lanou3g on 16/4/21.
//  Copyright © 2016年 李日青. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@interface RAVManager : NSObject
#pragma mark  - 属性
//播放器
@property (nonatomic, readonly)AVPlayer *player;
//播放列表
@property (nonatomic, strong)NSMutableArray *itemArray;
//当前下标
@property (nonatomic, assign)NSInteger currentIndex;

#pragma mark - 方法
//播放
- (void)play;
//暂停
- (void)pause;
//跳转进度
- (void)seekToTime:(CMTime)time;
//上一曲
- (void)previous;
//下一曲
- (void)next;

//单例方法
+ (instancetype)shareManager;
@end
